<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="theme/style.css"
	media="screen" />
<title>Oops, error occured</title>
</head>
<body onload="userfocus()">
	<div id="MainWrapper">
		<jsp:include page="header.jsp" /> 
		<jsp:include page="LeftContainer.jsp" />
		<div id="MainContent">
		<center>Error Occured...</center>
		<br><br>
		<p align="center">
			<font color="red" size="2"><b>
			<%
				String errorMsg = (String) session.getAttribute("ErrorMessage");
				String errorMsg1 = (String) request.getAttribute("ErrorMessage");
			
				if(errorMsg!=null)
				{
					out.println("<center><br><br><br>"+errorMsg+"</center>");
				}
				else if(errorMsg1!=null)
				{
					out.println("<center><br><br><br>"+errorMsg1+"</center>");
				}
				else
				{
					%>
					<center><br><br><br>There was an error to connect to server<br>
					Contact system administrator at : info.onlineexam@gmail.com</center>
					<%
				}
			%>
			</b>
			</font>
		</p>
		<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
		</div>
		<jsp:include page="footer.jsp" />
	</div>
</body>
</html>